From 16afc59f0420a28c3fba1fa64a186c4af39550f6 Mon Sep 17 00:00:00 2001 From: Lapo Calamandrei Date: Thu, 12 May 2016 11:45:34 +0200 Subject: [PATCH] Adwaita: bold size label on font button looks more consistent with other special buttons with icons. --- gtk/theme/Adwaita/_common.scss | 3 +++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 7 insertions(+) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index f931f9beaf..779f84ebab 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -763,10 +763,13 @@ button { } } } + // hide separators &.font, &.file { separator { background-color: transparent; }} + &.font { > box > box > label { font-weight: bold; }} + // inline-toolbar buttons .inline-toolbar &, .inline-toolbar &:backdrop { border-radius: 2px; diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index eb40c694bb..c5bda2075d 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -1184,6 +1184,8 @@ button { button.font separator, button.file separator { background-color: transparent; } +button.font > box > box > label { + font-weight: bold; } .inline-toolbar button, .inline-toolbar button:backdrop { diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index 2840a0a3a5..65184999d2 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -1187,6 +1187,8 @@ button { button.font separator, button.file separator { background-color: transparent; } +button.font > box > box > label { + font-weight: bold; } .inline-toolbar button, .inline-toolbar button:backdrop { -- 2.30.2